/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.front.dao;

import com.thinkgem.jeesite.common.persistence.CrudDao;
import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao;
import com.thinkgem.jeesite.modules.front.entity.FrontUser;

/**
 * 用户管理DAO接口
 * @author 朱俊吉
 * @version 2017-11-23
 */
@MyBatisDao
public interface FrontUserDao extends CrudDao<FrontUser> {

	FrontUser getUserByAccount(FrontUser frontUser);

	/**
	 * 更新登录信息，如：登录IP、登录时间
	 * @param user
	 * @return
	 */
	void updateLoginInfo(FrontUser frontUser);
	
}